<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>京东登录页面</title>
</head>
<style>
    header{

    }
    .div1{
        width: 990px;
        min-width: 960px;
        max-width: 1280px;
        border: 1px solid black;
        margin: 0px auto;
    }
    .div1>img{
        float: left;
    }
    .div1>h1{
        float: left;
        line-height: 20px;
        font-size: 22px;
        font-weight: 400;
        margin-left: 20px;
    }
    .div1:after{
        content: '';          /*在clear类后面添加内容为空*/
        display: block;      /*把添加的内容转化为块元素*/
        clear: both;         /*清除这个元素两边的浮动*/
    }
    .div2{
        width: 990px;
        height: 475px;
        min-width: 960px;
        max-width: 1280px;
        border: 1px solid black;
        margin: 0px auto;
        background-image: url("img/banner.png");
        padding-top: 30px;
        padding-right: 100px;
    }
    .div3{
        width: 300px;
        height: 250px;
        border: 1px solid black;
        background-color: white;
        float: right;
        padding: 10px;
    }
    .h01{
        font-weight: normal;
        font-size: 20px;
    }
    .h01>a{
        color: red;
        text-decoration: none;
        float: right;
        font-size: 14px;
    }
    .div4{
        border: 1px solid black;
        height: 38px;
        margin-top: 15px;
    }
    .div4>img{
        float: left;
    }
    .div4>input{
        float: left;
        width: 256px;
        height: 36px;
        border: none;
    }
    .div5{
        font-size: 12px;
        margin-top: 15px;
    }
    .div5>a{
        float: right;
        text-decoration: none;
        color: black;
    }
    .div5>input{
        vertical-align: middle;
    }
    .input1{
        background: #FF0000;
        color: white;
        width: 300px;
        height: 30px;
        border: none;
        margin-top: 15px;
    }
</style>
<body>
<header>
    <div class="div1">
        <img src="img/logo.png" alt=""><h1>欢迎登录</h1>
    </div>
</header>
<section>
    <div class="div2">
        <div class="div3">
            <form>
                <h2 class="h01">
                    京东会员
                <a href="#"><img src="img/icon5.jpg" style="vertical-align: middle">立即注册</a>
                </h2>
                <div class="div4">
                    <img src="img/icon1.jpg">
                    <input name="name1" type="text" placeholder=" 邮箱/用户名/已验证手机">
                </div>
                <div class="div4">
                    <img src="img/icon2.jpg">
                    <input name="name1" type="password">
                </div>
                <div class="div5">
                    <input type="checkbox" name="name2">自动登录
                    <a href="#" >忘记密码?</a>
                </div>
                <input class="input1" type="submit" value="登 录">
            </form>
        </div>
    </div>
</section>
<footer>
</footer>
</body>
</html>